package com.ruoyi.system.wnjk.domain.dto;


import com.ruoyi.common.core.domain.BaseEntity;

import java.math.BigDecimal;

/**
 * 售后对象
 *
 */
public class ShopAfterSalesRequestsDTO extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 售后申请的唯一ID */
    private Long id;

    /** 关联的订单ID */
    private Long orderId;

    /** 用户ID */
    private Long userId;

    /** 售后类型(退款/换货) */
    private String requestType;

    /** 申请状态（待审核/通过/拒绝） */
    private String requestStatus;

    /** 退款金额（仅退款时使用） */
    private BigDecimal amount;

    //原因
    private String reason;

    /**
     * 物流单号
     */
    private String logisticsId;


    public String getReason() {
        return reason;
    }

    public void setReason(String reason) {
        this.reason = reason;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getOrderId() {
        return orderId;
    }

    public void setOrderId(Long orderId) {
        this.orderId = orderId;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getRequestType() {
        return requestType;
    }

    public void setRequestType(String requestType) {
        this.requestType = requestType;
    }

    public String getRequestStatus() {
        return requestStatus;
    }

    public void setRequestStatus(String requestStatus) {
        this.requestStatus = requestStatus;
    }

    public BigDecimal getAmount() {
        return amount;
    }

    public void setAmount(BigDecimal amount) {
        this.amount = amount;
    }

    public String getLogisticsId() {
        return logisticsId;
    }

    public void setLogisticsId(String logisticsId) {
        this.logisticsId = logisticsId;
    }

    @Override
    public String toString() {
        return "ShopAfterSalesRequestsDTO{" +
                "id=" + id +
                ", orderId=" + orderId +
                ", userId=" + userId +
                ", requestType='" + requestType + '\'' +
                ", requestStatus='" + requestStatus + '\'' +
                ", amount=" + amount +
                ", refundReason='" + reason + '\'' +
                ", logisticsId='" + logisticsId + '\'' +
                '}';
    }
}
